Skip to content

EM Pull Request to Seaquark Branch - #1

Open
Whoose-Joe wants to merge 17 commits into
uva-spin:seaquarksfrom
Whoose-Joe:main
Open

EM Pull Request to Seaquark Branch#1
Whoose-Joe wants to merge 17 commits into
uva-spin:seaquarksfrom
Whoose-Joe:main

Conversation

@Whoose-Joe

@Whoose-Joe Whoose-Joe commented Oct 20, 2022

Copy link
Copy Markdown
Collaborator

Added:
Electric Charge
All quarks have a charge of +2/3 or -1/3
Values used for EM field calculations if isCharged enabled, otherwise object can only read values (ex: force probes)
TypeQuark Class
All quarks or objects that either read/write from EM fields can be an extension of this class
Includes charge states, force lines, and quark materials
EM Fields
Calculated from charged TypeQuark
TODO: Add static fields
Can be disabled from proton during/before runtime
See README for details on variables
Centripetal Force
1/r force applied to all TypeQuark
Can be modified from in-game menu
Sea Quark Spawn Changes
Proton requires energy to spawn sea quarks
Creating new pair reduces energy by 1, deleting increases by 1
Autodeletes when pair distance from proton > 100
Autodeletes when quark/antiquark collide (Distance modified from cancelThreshold variable)
Simple Parton Sum Rule (WIP)
Iteratively sets spin values for each TypeQuark (up or down)
TODO: Only works along z-axis, not yet scaled, sums to 0 instead of 1/2
See README for details on calculation and console information
Visuals
Added force lines, FPS counter
Quark visuals moved to TypeQuark
Music
Added music player, new track
Disabled by default, enable by checking autoplay from Music object in Heirarchy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants